#include <iostream>
#include <algorithm>
using namespace std;

int a[205];

int main() {
	int n;
	cin >> n;
	for (int i=0; i<n; i++) {
		cin >> a[i];
	}
	sort(a, a+n);
	bool first = true;
	for (int i=0; i<n; i++) {
		if (first) first=false;
		else cout << " ";
		cout << a[i];
	}
	return 0;
}
